package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class InvoiceDTO {
    @NotBlank
    @Length(min = 1, max = 50)
    private String title;
    @NotBlank
    @Length(min = 1, max = 255)
    private String image;

    private int status;
}
